You tried to assign the Null value to a variable that is not a Variant data type. (Error 3162)
You tried to assign a Null value to a variable that is not a Variant data type. Use the Dim statement to declare the variable as a Variant, and then try the operation again.